package merlin.beans;

/**
 * Bean used by JSP pages to auto-fill the user details .
 * Not used for any database related activities or as DTO.
 *
 * Changes
 * -------
 * 				Created.
 * Oct 09,2006	Added the bean property to hold the Card Verification Value.
 */
public class AutoFillDetails{

	// common properties between Contact Details and Payment Details
	private java.lang.String txtFirstName = "";
	private java.lang.String txtSurname = "";
	private java.lang.String txtCompanyName = "";
	private java.lang.String txtEMailAddress = "";
	private java.lang.String txtTelephone = "";

	// properties specific to Payment Details
	private java.lang.String txtTitle = "";
	private java.lang.String txtPosition = "";
	private java.lang.String txtAddress1 = "";
	private java.lang.String txtAddress2 = "";
	private java.lang.String txtTown = "";
	private java.lang.String txtCounty = "";
	private java.lang.String txtPostcode = "";
	private java.lang.String txtCardTitle = "";
	private java.lang.String txtCardForename = "";
	private java.lang.String txtCardSurname = "";
	private java.lang.String txtCardPosition = "";
	private java.lang.String txtCardCompanyName = "";
	private java.lang.String txtCardAddress1 = "";
	private java.lang.String txtCardAddress2 = "";
	private java.lang.String txtCardTown = "";
	private java.lang.String txtCardCounty = "";
	private java.lang.String txtCardPostcode = "";
	private java.lang.String txtCardNumber = "";
    private java.lang.String txtCVV = "";
	private java.lang.String cmbMonth = "";
	private java.lang.String cmbYear = "";
    private java.lang.String radSameDetails = "";
    private java.lang.String chkOptions = "";
    private java.lang.String errorMessage = "";


	public AutoFillDetails(){
		System.out.println("AutoFillDetails bean created on " + new java.util.Date());
	}

	public String getTxtCompanyName() {
		return txtCompanyName;
	}

	public void setTxtCompanyName(String value) {
		txtCompanyName = value;
	}

	public String getTxtEMailAddress() {
		System.out.println("<<AutoFillDetails.getTxtEMailAddress <"  + txtEMailAddress + "> at "  +  new java.util.Date());
		return txtEMailAddress;
	}

	public void setTxtEMailAddress(String value) {
		System.out.println(">>AutoFillDetails.setTxtEMailAddress value <" + value + "> at "  +  new java.util.Date());
		txtEMailAddress = value;
	}

	public String getTxtFirstName() {
		return txtFirstName;
	}

	public void setTxtFirstName(String value) {
		txtFirstName = value;
	}

	public String getTxtSurname() {
		return txtSurname;
	}

	public void setTxtSurname(String value) {
		txtSurname = value;
	}

	public String getTxtTelephone() {
		return txtTelephone;
	}

	public void setTxtTelephone(String value) {
		txtTelephone = value;
	}

	public String getTxtAddress1() {
		return txtAddress1;
	}

	public void setTxtAddress1(String value) {
		txtAddress1 = value;
	}

	public String getTxtAddress2() {
		return txtAddress2;
	}

	public void setTxtAddress2(String value) {
		txtAddress2 = value;
	}

	public String getTxtCardAddress1() {
		return txtCardAddress1;
	}

	public void setTxtCardAddress1(String value) {
		txtCardAddress1 = value;
	}

	public String getTxtCardAddress2() {
		return txtCardAddress2;
	}

	public void setTxtCardAddress2(String value) {
		txtCardAddress2 = value;
	}

	public String getTxtCardCompanyName() {
		return txtCardCompanyName;
	}

	public void setTxtCardCompanyName(String value) {
		txtCardCompanyName = value;
	}

	public String getTxtCardCounty() {
		return txtCardCounty;
	}

	public void setTxtCardCounty(String value) {
		txtCardCounty = value;
	}

	public String getTxtCardForename() {
		return txtCardForename;
	}

	public void setTxtCardForename(String value) {
		txtCardForename = value;
	}

	public String getTxtCardNumber() {
		return txtCardNumber;
	}

	public void setTxtCardNumber(String value) {
		txtCardNumber = value;
	}

	public String getTxtCardPosition() {
		return txtCardPosition;
	}

	public void setTxtCardPosition(String value) {
		txtCardPosition = value;
	}

	public String getTxtCardPostcode() {
		return txtCardPostcode;
	}

	public void setTxtCardPostcode(String value) {
		txtCardPostcode = value;
	}

	public String getTxtCardSurname() {
		return txtCardSurname;
	}

	public void setTxtCardSurname(String value) {
		txtCardSurname = value;
	}

	public String getTxtCardTitle() {
		return txtCardTitle;
	}

	public void setTxtCardTitle(String value) {
		txtCardTitle = value;
	}

	public String getTxtCardTown() {
		return txtCardTown;
	}

	public void setTxtCardTown(String value) {
		txtCardTown = value;
	}

	public String getTxtCounty() {
		return txtCounty;
	}

	public void setTxtCounty(String value) {
		txtCounty = value;
	}

	public String getTxtPosition() {
		return txtPosition;
	}

	public void setTxtPosition(String value) {
		txtPosition = value;
	}

	public String getTxtPostcode() {
		return txtPostcode;
	}

	public void setTxtPostcode(String value) {
		txtPostcode = value;
	}

	public String getTxtTown() {
		return txtTown;
	}

	public void setTxtTown(String value) {
		txtTown = value;
	}

	public String getTxtTitle() {
		return txtTitle;
	}

	public void setTxtTitle(String value) {
		txtTitle = value;
	}

	public String getCmbMonth() {
		return cmbMonth;
	}

	public void setCmbMonth(String value) {
		cmbMonth = value;
	}

	public String getCmbYear() {
		return cmbYear;
	}

	public void setCmbYear(String value) {
		cmbYear = value;
	}

	public String getRadSameDetails() {
		return radSameDetails;
	}

	public void setRadSameDetails(String value) {
		radSameDetails = value;
	}

	public String getChkOptions() {
		return chkOptions;
	}

	public void setChkOptions(String value) {
		chkOptions = value;
	}

	public java.lang.String getTxtCVV(){
		return txtCVV;
	}

	public void setTxtCVV(java.lang.String value){
		txtCVV = value;
	}

	public java.lang.String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(java.lang.String value) {
		errorMessage = value;
	}
}





















